package com.zhao.data.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.zhao.data.model.Province;

public interface ProvinceMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(Province record);

	int insertSelective(Province record);

	Province selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(Province record);

	int updateByPrimaryKey(Province record);

	//	@Cacheable(value = "provinceCache", key = "#root.targetClass + #root.methodName")
	@Select("select * from t_province")
	public List<Province> selectAll();
}